package model;

import annotion.Id;
import annotion.Table;

import java.io.Serializable;

/**
 * @Description:
 * @Author one world
 * @Date 2020/9/23 0023 10:24
 */
@Table("Phone_parameter")
public class Phone implements Serializable {
    @Id
    private int id;
    private int goods_id;
    private String screen_size;
    private String pixel;
    private String memory;
    private String battery_life;
    private String cpu_model;
    private String cpu_frequency;
    private String front_camera;
    private String screenre_solution;
    private String capacity;
    private String thickness;
    private String network_type;
    private String network_model;

    public Phone() {
    }

    public Phone(int goods_id, String screen_size, String pixel, String memory, String battery_life, String cpu_model, String cpu_frequency, String front_camera, String screenre_solution, String capacity, String thickness, String network_type, String network_model) {
        this.goods_id = goods_id;
        this.screen_size = screen_size;
        this.pixel = pixel;
        this.memory = memory;
        this.battery_life = battery_life;
        this.cpu_model = cpu_model;
        this.cpu_frequency = cpu_frequency;
        this.front_camera = front_camera;
        this.screenre_solution = screenre_solution;
        this.capacity = capacity;
        this.thickness = thickness;
        this.network_type = network_type;
        this.network_model = network_model;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public String getScreen_size() {
        return screen_size;
    }

    public void setScreen_size(String screen_size) {
        this.screen_size = screen_size;
    }

    public String getPixel() {
        return pixel;
    }

    public void setPixel(String pixel) {
        this.pixel = pixel;
    }

    public String getMemory() {
        return memory;
    }

    public void setMemory(String memory) {
        this.memory = memory;
    }

    public String getBattery_life() {
        return battery_life;
    }

    public void setBattery_life(String battery_life) {
        this.battery_life = battery_life;
    }

    public String getCpu_model() {
        return cpu_model;
    }

    public void setCpu_model(String cpu_model) {
        this.cpu_model = cpu_model;
    }

    public String getCpu_frequency() {
        return cpu_frequency;
    }

    public void setCpu_frequency(String cpu_frequency) {
        this.cpu_frequency = cpu_frequency;
    }

    public String getFront_camera() {
        return front_camera;
    }

    public void setFront_camera(String front_camera) {
        this.front_camera = front_camera;
    }

    public String getScreenre_solution() {
        return screenre_solution;
    }

    public void setScreenre_solution(String screenre_solution) {
        this.screenre_solution = screenre_solution;
    }

    public String getCapacity() {
        return capacity;
    }

    public void setCapacity(String capacity) {
        this.capacity = capacity;
    }

    public String getThickness() {
        return thickness;
    }

    public void setThickness(String thickness) {
        this.thickness = thickness;
    }

    public String getNetwork_type() {
        return network_type;
    }

    public void setNetwork_type(String network_type) {
        this.network_type = network_type;
    }

    public String getNetwork_model() {
        return network_model;
    }

    public void setNetwork_model(String network_model) {
        this.network_model = network_model;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "id=" + id +
                ", goods_id=" + goods_id +
                ", screen_size='" + screen_size + '\'' +
                ", pixel='" + pixel + '\'' +
                ", memory='" + memory + '\'' +
                ", battery_life='" + battery_life + '\'' +
                ", cpu_model='" + cpu_model + '\'' +
                ", cpu_frequency='" + cpu_frequency + '\'' +
                ", front_camera='" + front_camera + '\'' +
                ", screenre_solution='" + screenre_solution + '\'' +
                ", capacity='" + capacity + '\'' +
                ", thickness='" + thickness + '\'' +
                ", network_type='" + network_type + '\'' +
                ", network_model='" + network_model + '\'' +
                '}';
    }
}
